package com.cd.hospital.modules.service;

import com.cd.hospital.modules.entity.AdvertisementEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author weirdor
 * @email 179946422@qq.com
 * @date 2017-09-18 23:57:46
 */
public interface AdvertisementService {
	
	AdvertisementEntity queryObject(Long id);
	
	List<AdvertisementEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(AdvertisementEntity advertisement);
	
	void update(AdvertisementEntity advertisement);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);


}
